package com.oren.system.pojo;

import com.oren.base.pojo.Rows;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * @Author: oren
 * @Description:
 * @Date: Create on 2017/11/6 0006 17:15
 */

public class User {

	private Integer id;

	private String username;

	private String password;

	/**
	 * 1 男 2 女
	 */
	private int sex;

	/**
	 * 图片路径
	 */
	private String imgUrl;

	/**
	 * 角色id
	 */
	private String roleId;

	/**
	 * 部门id
	 */
	private String departmentId;

	/**
	 * 是否禁止 1 禁用 2不禁用
	 */
	private int disabled;

	/**
	 * 是否是超级管理员 1是 2否
	 */
	private int superAdmin;

	/**
	 * 描述
	 */
	private String remark;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 最后一次登录时间
	 */
	private Date lastTime;

	/**
	 * 最后一次登录的ip
	 */
	private String lastIp;

	/**
	 * 电话号码
	 */
	private String telephone;

	/**
	 * 地址
	 */
	private String address;

	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * 部门名称
	 */
	private String departmentName;

	/**
	 * 职位 1经理 2员工
	 */
	private int job;


	public User() {
	}

	public User(String username, String password, String telephone) {
		this.username = username;
		this.password = password;
		this.telephone = telephone;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	public int getDisabled() {
		return disabled;
	}

	public void setDisabled(int disabled) {
		this.disabled = disabled;
	}

	public int getSuperAdmin() {
		return superAdmin;
	}

	public void setSuperAdmin(int superAdmin) {
		this.superAdmin = superAdmin;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public String getLastIp() {
		return lastIp;
	}

	public void setLastIp(String lastIp) {
		this.lastIp = lastIp;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public int getJob() {
		return job;
	}

	public void setJob(int job) {
		this.job = job;
	}
}



